import Episodes from '../bangumi/Episodes';
import { playMode } from '../../enums/playMode';

export default class playerModel {
  constructor(aid?: string, cid?: number, mode?: playMode) {
    this.aid = aid;
    this.cid = cid;
    this.mode = mode;
  }

  no: string;
  index: number;
  rich_vid: string;
  aid: string;
  title: string;
  videoTitle: string;
  episodeId: string;
  cid: number;
  mode: playMode;
  path: string;
  parameter: object;
  videoList: Array<string>;
  banId: string;
  banInfo: Episodes;
  isInteraction: boolean = false;
  nodeId: number = 0;
  seasonType: number = 1;
  graphVersion: number = 467;
  isDownload: boolean = false;
}